from flask import Blueprint, render_template, abort
from jinja2 import TemplateNotFound

app_domain = Blueprint('app_domain', __name__, template_folder='templates', static_folder='static')

@app_domain.route('/')
def index():
    try:
        return render_template('domain/index.html')
    except TemplateNotFound:
        abort(404)
